home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gdm / gdmXnestWrapper < prev   
Encoding:
Text File  |  2009-04-03  |  219 b   |  15 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. if [ -x /usr/bin/Xephyr ]; then
  6.     exec /usr/bin/Xephyr "$@"
  7. fi
  8.  
  9. if [ -x /usr/bin/Xnest ]; then
  10.     exec /usr/bin/Xnest -name Xnest "$@"
  11. fi
  12.  
  13. echo "Cannot find nested X server, exiting..." >&2
  14. exit 1
  15.